import Vue from 'vue'
import  VueRouter  from 'vue-router'

import My from '../components/My.vue'
import Download from '../components/Download.vue'
import Follow from '../components/Follow.vue'
import Friend from '../components/Friend.vue'
import Musician from '../components/Musician.vue'
import Shopping from '../components/Shopping.vue'

Vue.use(VueRouter)


const router=new VueRouter({
    routes:[
        {
            path:'/friend',
          component:My
        },
        {
            path:'/my',
          component:Download
        },
        {
            path:'/part',
          component:Follow
        },
        {
            path:'/shangcheng',
          component:Friend
        },
        {
            path:'/yyr',
          component:Musician
        },
        {
            path:'/xaked',
          component:Shopping
        },
    ]
})
export default router
